package com.wfk.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 银行卡绑定信息
 * </p>
 *
 * @since 2019-01-07
 */
@TableName("t_bank_details")
public class BankDetails implements Serializable {

	private static final long serialVersionUID = 1L;

	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;

	/**
	 * 目标id
	 */
	private Integer targetid;

	private Integer typeid;

	/**
	 * 1会员银行卡  2供应商银行卡 3代理商银行卡  4商家银行卡
	 */
	private Integer type;

	/**
	 * 真实名称
	 */
	private String realname;

	/**
	 * 证件号
	 */
	private String idcard;

	/**
	 * 银行卡卡号
	 */
	private String bankcode;

	/**
	 * 银行名称
	 */
	private String bankname;

	/**
	 * 银行开户行地址
	 */
	private String bankaddr;

	/**
	 * 银行卡预留手机
	 */
	private String phone;

	/**
	 * 银行logo
	 */
	private String logo;

	private Date createtime;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getTargetid() {
		return targetid;
	}

	public void setTargetid(Integer targetid) {
		this.targetid = targetid;
	}

	public Integer getTypeid() {
		return typeid;
	}

	public void setTypeid(Integer typeid) {
		this.typeid = typeid;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getRealname() {
		return realname;
	}

	public void setRealname(String realname) {
		this.realname = realname;
	}

	public String getIdcard() {
		return idcard;
	}

	public void setIdcard(String idcard) {
		this.idcard = idcard;
	}

	public String getBankcode() {
		return bankcode;
	}

	public void setBankcode(String bankcode) {
		this.bankcode = bankcode;
	}

	public String getBankname() {
		return bankname;
	}

	public void setBankname(String bankname) {
		this.bankname = bankname;
	}

	public String getBankaddr() {
		return bankaddr;
	}

	public void setBankaddr(String bankaddr) {
		this.bankaddr = bankaddr;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getLogo() {
		return logo;
	}

	public void setLogo(String logo) {
		this.logo = logo;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	@Override
	public String toString() {
		return "BankDetails{" +
				"id=" + id +
				", targetid=" + targetid +
				", typeid=" + typeid +
				", type=" + type +
				", realname=" + realname +
				", idcard=" + idcard +
				", bankcode=" + bankcode +
				", bankname=" + bankname +
				", bankaddr=" + bankaddr +
				", phone=" + phone +
				", logo=" + logo +
				", createtime=" + createtime +
				"}";
	}
}
